package admin.repository;

import common.model.Case;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface CaseRepository extends JpaRepository<Case, Long> {
    List<Case> findByLawyerNameAndUserNameAndDateAndCompleted(String lawyerName, String userName, Date date, Boolean completed);
}